package com.hwtx.form.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hwtx.form.domain.vo.UserRole;
import io.geekidea.boot.system.entity.SysRoleUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleUserMapper extends BaseMapper<SysRoleUser> {

    List<UserRole> getUserRoles(@Param("userIds") List<Long> userIds);

}
